package cn.com.wind.bdg.collect.collect.utils;

import java.util.ArrayList;
import java.util.List;
/**
 * 
 * @ClassName:  GetHtml   
 * @Description:获取详情页的url 
 * @author: gaoxiang
 * @date:   2020年8月19日 下午12:31:17
 */
public class GetHtml {
	public static List<String> method() throws Exception {
		List<String> resUrl = new ArrayList<String>();
		List<String> urlF = new ArrayList<String>();
		urlF.add("https://www.yaozs.com/data/ypgap/"); 
		urlF.add("https://www.yaozs.com/data/drugGap-htm-page-2-action-list.html");
		urlF.add("https://www.yaozs.com/data/drugGap-htm-page-3-action-list.html");
		GetHTMLData getHTMLData = new GetHTMLData();
		for(int i=0;i<3;i++) {
			List<String> list = getHTMLData.getUrl(urlF.get(i));
			for(int j=0;j<list.size();j++) {
				resUrl.add(list.get(j));
			}
		}
		return resUrl;
	}
}
